package com.md.service;

import com.md.entity.Book;

import java.util.List;

public interface BookService {

    List<Book> selectAll();

    //姓名

    List<Book> selectByName(String name);

    //id查

    Book selectById(int id);

    //id删

    int deleteById(int id);

    //添加
    int insertStudent(Book book);

    //修改
    int updateStudent(Book book);
}
